<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><dl class="linksdl">
    <dt>友情链接<i class="icon iconfont icon-trigon-d"></i></dt>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=62cac2ba7b1e421dbe680561a17fc05d&action=type_list&order=listorder+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$data = $link_tag->type_list(array('order'=>'listorder DESC','limit'=>'20',));}?>
    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
    <dd>
        <a href="<?php echo $r['url'];?>"><?php echo $r['name'];?></a>
    </dd>
    <?php $n++;}unset($n); ?>
    <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
</dl>